package game.event;

import game.Player;

import java.util.List;

/**
 * This class for take action to the player.
 * 
 * @author Sarun Wongtanakarn 5510546166
 * @author Apiwat Jierakulpanit 5510546212
 * @Version 2013.04.29
 */
public class StatusHandler {

	/**
	 * Handles the status events that player are responsible to.
	 * @param player player that own the event and going to take the event.
	 * @param statusEvent the event that involve with the status.
	 */
	public static void handle(Player player, List<StatusEvent> statusEvent) {
		for (StatusEvent event: statusEvent) {
			event.takeAction(player);
		}
		
	}
	
}
